home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_138.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  5.8 KB  |  153 lines

  1. ¬†          Edit Text 
  2.  
  3. Inherits from:     Text     
  4.  
  5.  
  6. _____________________________________________________
  7. ¬†            name   *196*
  8.  
  9. Type:  string 
  10. Description:    Used by primitive find-item to find ¬´Edit Text¬ª by name. 
  11.  
  12.  
  13. _____________________________________________________
  14. ¬†           owner   *196*
  15.  
  16. Type:  Window 
  17. Constraints:    Not settable.    
  18. Description:  If ¬´Edit Text¬ª is a member of item list of an active ¬´Window¬ª, then the value of this attribute is that ¬´Window¬ª; otherwise it is NULL.    
  19.  
  20.  
  21. _____________________________________________________
  22. ¬†           active?   *196*
  23.  
  24. Type:  boolean    
  25. Constraints:    Not settable on default.    
  26. Description:     This item can be made the selected text item if and only if the value of this attribute is TRUE, and the value of the visible? attribute is TRUE.     
  27.  
  28.  
  29. _____________________________________________________
  30. ¬†           visible?   *196*
  31.  
  32. Type:  boolean    
  33. Description:  ¬´Edit Text¬ª is displayed in the owning ¬´Window¬ª if and only if the value of this attribute is TRUE,  and the value of the active? attribute is TRUE. If a selected ¬´Edit Text¬ª is made invisible or inactive, it is deselected.    
  34. Side effects:    Setting causes ¬´Edit Text¬ª to be redrawn in the owning ¬´Window¬ª.     
  35.  
  36.  
  37. _____________________________________________________
  38. ¬†           move?   *197*
  39.  
  40. Type:  boolean    
  41. Description:     The location of ¬´Edit Text¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  42.  
  43.  
  44. _____________________________________________________
  45. ¬†           grow?   *197*
  46.  
  47. Type:  boolean    
  48. Description:     The size of ¬´Edit Text¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  49.  
  50.  
  51. _____________________________________________________
  52. ¬†           location   *197*
  53.  
  54. Type:  Point    
  55. Description:    The location of the upper left corner of ¬´Edit Text¬ª in owning ¬´Window¬ª.    
  56. Side effects:    Setting causes ¬´Edit Text¬ª to be redrawn.    
  57.  
  58.  
  59. _____________________________________________________
  60. ¬†           size   *197*
  61.  
  62. Type:  Point    
  63. Description:    Offset of lower right corner of ¬´Edit Text¬ª from upper left corner.    
  64. Side effects:    Setting causes ¬´Edit Text¬ª to be redrawn.    
  65.  
  66.  
  67. _____________________________________________________
  68. ¬†           balloon   *198*
  69. Type:     list 
  70. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  71.  
  72.  
  73. _____________________________________________________
  74. ¬†           border?  *198*
  75.  
  76. Type:     boolean 
  77. Description:    A 1-point border is drawn around the ¬´Edit Text¬ª if the value of this attribute is TRUE.    
  78. Side effects:     Setting causes ¬´Edit Text¬ª to be redrawn. 
  79.  
  80.  
  81. _____________________________________________________
  82. ¬†           font  *198*
  83.  
  84. Type:  integer 
  85. Description: The default font in which ¬´Edit Text¬ª is drawn. See Mac Constants (geneva, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù Refer to Chapter 4, ‚ÄúApplication Builder‚Äù, for a discussion of how Edit Text and Scroll Text styles and style records are used.    
  86. Side effects:  Setting causes ¬´Edit Text¬ª to be redrawn.     
  87.  
  88.  
  89. _____________________________________________________
  90. ¬†           font style  *198*
  91.  
  92. Type:  integer    
  93. Description: The default style in which ¬´Edit Text¬ª is drawn. See Mac Constants (bold, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù    
  94. Side effects:  Setting causes ¬´Edit Text¬ª to be redrawn.     
  95.  
  96.  
  97. _____________________________________________________
  98. ¬†           font size  *199*
  99.  
  100. Type:  integer 
  101. Description: The default point size in which ¬´Edit Text¬ª is drawn.     
  102. Side effects:  Setting causes ¬´Edit Text¬ª to be redrawn.     
  103.  
  104.  
  105. _____________________________________________________
  106. ¬†           justification  *199*
  107.  
  108. Type:  integer 
  109. Description: The justification for drawing ¬´Edit Text¬ª. See Mac Constants (teJustLeft, and so on) in the ÀôInfo‚Ķ dialog for some values.    
  110. Side effects:  Setting causes ¬´Edit Text¬ª to be redrawn.     
  111.  
  112.  
  113. _____________________________________________________
  114. ¬†           text  *199*
  115.  
  116. Type:  string 
  117. Description: Text that is displayed in the item. It can have a maximum length of 32K bytes. If the text is longer than 32K bytes, it is truncated to that size.    
  118. Side effects:  Setting this attribute causes ¬´Edit Text¬ª to be redrawn immediately only if the ¬´Edit Text¬ª is the selected text item in its owning ¬´Window¬ª. Otherwise the redraw is delayed until the Application Manager processes the update event after the user‚Äôs method finishes.
  119. Setting this attribute also sets the style record attribute to NULL, and applies the default font, size and style to the new text.    
  120.  
  121.  
  122. _____________________________________________________
  123. ¬†            edit record  *200*
  124.  
  125. Type:  TERec@@    
  126. Constraints:    Not settable.    
  127. Description: Text Edit record.    
  128.  
  129.  
  130. _____________________________________________________
  131. ¬†           style record  *200*
  132.  
  133. Type:   null | StScrpRec@@    
  134. Constraints:    Not settable.    
  135. Description: This attribute is NULL if only one font, font size and font style are used throughout the text; otherwise, it points to the style record.    
  136.  
  137.  
  138. _____________________________________________________
  139. ¬†           wrap?  *200*
  140.  
  141. Type:  boolean    
  142. Description: Text is kept within the bounding rectangle of the ¬´Edit Text¬ª if and only if the value of this attribute is TRUE.    
  143.  
  144.  
  145. _____________________________________________________
  146. ¬†           selection  *200*
  147.  
  148. Type:  Point    
  149. Description:    The range of characters selected. If the value of selection is {x y}, x is the first character in the selection, and y the last, with 0 being the first character in the ¬´Edit Text¬ª. 
  150. Side effects:  If the selected characters are outside the visible rectangle, they are scrolled into view and all characters in the selection range are highlighted.    
  151.  
  152.  
  153.